package phrox.ui;

import phrox.ui.events.IProgramEvent;
import phrox.ui.events.IUserEvent;
import shriekingMushroom.events.IEventQueue;

public interface UserInputPlugin<E extends IUserEvent,P extends IProgramEvent> {
	
	/**
	 * Sets the event queue that should be used by the UI to send events to the program
	 * @param e The queue to check for User events
	 */
	public void setUserEventQueue( IEventQueue<E> e );
	
	/**
	 * Sets the event queue that the program will use to send events to the UI
	 * @param e The queue to use check for program events
	 */
	public void setProgramEventQueue( IEventQueue<P> e );
}
